
package com.ssm.pre.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.ssm.pre.service.WechatKeysService;
import com.ssm.util.object.InputObject;
import com.ssm.util.object.OutputObject;

/**
 *关键字
 *
 */
@Controller
public class WechatKeysController {
	
	@Autowired
	private WechatKeysService wkeysService;
	
	
	/**
	 * 查询关键字列表
	 * @param inputObject
	 * @param outputObject
	 * @throws Exception
	 */
	@RequestMapping("/post/WechatKeysController/queryWechatKeysList")
	@ResponseBody
	public void queryWechatKeysList(InputObject inputObject ,OutputObject outputObject) throws Exception{
		wkeysService.queryWechatKeysList(inputObject, outputObject);
	}
	
	/**
	 * 增加关键字
	 * @param inputObject
	 * @param outputObject
	 * @throws Exception
	 */
	@RequestMapping("/post/WechatKeysControllerr/addWechatKeys")
	@ResponseBody
	public void addWechatKeys(InputObject inputObject ,OutputObject outputObject) throws Exception{
		wkeysService.addWechatKeys(inputObject, outputObject);
		
	}
	
	
	/**
	 * 刪除关键字
	 * @param inputObject
	 * @param outputObject
	 * @throws Exception
	 */
	@RequestMapping("/post/WechatKeysControllerr/deleteWechatKeysById")
	@ResponseBody
	public void deleteWechatKeysById(InputObject inputObject ,OutputObject outputObject) throws Exception{
		wkeysService.deleteWechatKeysById(inputObject, outputObject);
		
		
	}
	/**
	 * 修改关键字
	 * @param inputObject
	 * @param outputObject
	 * @throws Exception
	 */
	@RequestMapping("/post/WechatKeysControllerr/updateWechatKeys")
	@ResponseBody
	public void updateWechatKeys(InputObject inputObject ,OutputObject outputObject) throws Exception{
		wkeysService.updateWechatKeys(inputObject, outputObject);
		
		
	}
	
	/**
	 * 根据id查询关键字
	 * @param inputObject
	 * @param outputObject
	 * @throws Exception
	 */
	@RequestMapping("/post/WechatKeysControllerr/queryWechatKeysById")
	@ResponseBody
	public void queryWechatKeysById(InputObject inputObject ,OutputObject outputObject) throws Exception{
		wkeysService.queryWechatKeysById(inputObject, outputObject);	
	}

}
